package team.yidong.fenda.DTO;

import team.yidong.fenda.entity.KnowledgeImg;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by xuanlong on 2018/3/27.
 */
public class KnowledgeDTOForSys {
    private Integer knowledgeId;
    private String headline;
    private String content;
    private List<KnowledgeImg> knowledgeImgList = new ArrayList<>();

    public Integer getKnowledgeId() {
        return knowledgeId;
    }

    public void setKnowledgeId(Integer knowledgeId) {
        this.knowledgeId = knowledgeId;
    }

    public String getHeadline() {
        return headline;
    }

    public void setHeadline(String headline) {
        this.headline = headline;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public List<KnowledgeImg> getKnowledgeImgList() {
        return knowledgeImgList;
    }

    public void setKnowledgeImgList(List<KnowledgeImg> knowledgeImgList) {
        this.knowledgeImgList = knowledgeImgList;
    }

    @Override
    public String toString() {
        return "KnowledgeDTOForSys{" +
                "knowledgeId=" + knowledgeId +
                ", headline='" + headline + '\'' +
                ", content='" + content + '\'' +
                ", knowledgeImgList=" + knowledgeImgList +
                '}';
    }
}
